﻿using System;
using System.Collections.Generic;
using System.Data.Linq.Mapping;

namespace BSU.GraduateWork.Data.Model
{
    [Serializable]
    public abstract class Solution<TPoint> : IEntity<int>
    {
        public virtual int Id { get; set; }

        public abstract int IterationsCount { get; set; }

        public abstract TimeSpan ExecutionTime { get; set; }

        public IList<TPoint> U { get; set; }

        protected Solution()
        {
            Id = -1;
        }
    }
}
